﻿using System.Collections.Generic;

namespace FrameWork.Classes.Data
{
  public   class GlobeDataSourcePool
    {
        private Dictionary<string, object> dataSourceCollection;
        public Dictionary<string, object> DataSourceCollection
        {
            get
            {
                if (dataSourceCollection == null)
                {
                    dataSourceCollection = new Dictionary<string, object>();
                }
                return dataSourceCollection;
            }
        }
        private static GlobeDataSourcePool instance;
        public static GlobeDataSourcePool Instance
        {
            get
            {
                if (instance == null)
                {
                    instance = new GlobeDataSourcePool();
                }
                return instance;
            }
        }
    }
}
